const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  mobile: state => state.user.mobile,
  roleNames: state => state.user.roleNames,
  roles: state => state.user.roles,
  isController: state => state.user.isController,
  permissions: state => state.user.permissions,
  overallState: state => state.user.overallState,
  frontState: state => state.user.frontState
}
export default getters
